package com.qst.order.domain.DTO;

import jakarta.validation.Valid;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

@Data // Lombok注解，自动生成getter/setter
public class BatchConfirmReceiveRequest {
    @NotBlank(message = "订单ID不能为空")
    private String orderId;
 
    @Valid
    @NotNull(message = "订单项不能为空")
    private List<@Valid OrderItemConfirm> items;
}

